package app.util;

import org.springframework.util.StringUtils;

public class StringUtil extends StringUtils {
	
	/**
	 * obj转换str
	 * @param obj
	 * @return
	 */
	public static String objectToStr(Object obj){
		return obj==null?"":obj.toString();
	}
	
	public static boolean isNotEmpty(Object obj){
		return !isEmpty(obj);
	}

}
